package com.sinosure.edi.polo;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;


/**
 *银行详细信息
*/
public class BankInfo{
private String corpSerialNo;		//企业内部银行唯一标识，不是通过EDI申请的代码，发布时该字段为空
	private String clientNo;		//企业标识
	private String bankSwift;		//银行编号（swift）
	private String chnName;			//银行中文名称
	private String engName;			//银行英文名称
	private String countryCode;		//银行国家代码
	private String address;			//银行地址(英文)
	private String zip;				//邮政编码
	private String tel;				//银行电话（建议填写）
	private String fax;				//银行传真
	private String webAddress;		//网站地址
	private String  setupDate;	//成立日期
	private String corporation;		//法人代表
	private String turnover;		//营业额
	private String profit;			//利润
	private String totalAsset;		//总资产
	private String selfAssetRate;	//自有资产比率 ==
	private String selfCapital;		//自有资本
	private String nodeSum;			//分支数目
	private String  employeeSum;		//员工人数
	private String belongBankName;	//所属银行集团名称
	private String belongBankSwift;	//所属银行集团swift ==
	private String interOrder;		//国内排名
	private String nationOrder;		//国际排名
	private String stockHolder;		//股东
	private String remark;			//备注
	private String modifyTime;	//最后修改时间 
	public String getCorpSerialNo() {
		return corpSerialNo;
	}
	public void setCorpSerialNo(String corpSerialNo) {
		this.corpSerialNo = corpSerialNo;
	}
	public String getClientNo() {
		return clientNo;
	}
	public void setClientNo(String clientNo) {
		this.clientNo = clientNo;
	}
	public String getBankSwift() {
		return bankSwift;
	}
	public void setBankSwift(String bankSwift) {
		this.bankSwift = bankSwift;
	}
	public String getChnName() {
		return chnName;
	}
	public void setChnName(String chnName) {
		this.chnName = chnName;
	}
	public String getEngName() {
		return engName;
	}
	public void setEngName(String engName) {
		this.engName = engName;
	}
	public String getCountryCode() {
		return countryCode;
	}
	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getZip() {
		return zip;
	}
	public void setZip(String zip) {
		this.zip = zip;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getFax() {
		return fax;
	}
	public void setFax(String fax) {
		this.fax = fax;
	}
	public String getWebAddress() {
		return webAddress;
	}
	public void setWebAddress(String webAddress) {
		this.webAddress = webAddress;
	}
	public String getSetupDate() {
		return setupDate;
	}
	public void setSetupDate(String setupDate) {
		this.setupDate = setupDate;
	}
	public String getCorporation() {
		return corporation;
	}
	public void setCorporation(String corporation) {
		this.corporation = corporation;
	}
	public String getTurnover() {
		return turnover;
	}
	public void setTurnover(String turnover) {
		this.turnover = turnover;
	}
	public String getProfit() {
		return profit;
	}
	public void setProfit(String profit) {
		this.profit = profit;
	}
	public String getTotalAsset() {
		return totalAsset;
	}
	public void setTotalAsset(String totalAsset) {
		this.totalAsset = totalAsset;
	}
	public String getSelfAssetRate() {
		return selfAssetRate;
	}
	public void setSelfAssetRate(String selfAssetRate) {
		this.selfAssetRate = selfAssetRate;
	}
	public String getSelfCapital() {
		return selfCapital;
	}
	public void setSelfCapital(String selfCapital) {
		this.selfCapital = selfCapital;
	}
	public String getNodeSum() {
		return nodeSum;
	}
	public void setNodeSum(String nodeSum) {
		this.nodeSum = nodeSum;
	}
	public String getEmployeeSum() {
		return employeeSum;
	}
	public void setEmployeeSum(String employeeSum) {
		this.employeeSum = employeeSum;
	}
	public String getBelongBankName() {
		return belongBankName;
	}
	public void setBelongBankName(String belongBankName) {
		this.belongBankName = belongBankName;
	}
	public String getBelongBankSwift() {
		return belongBankSwift;
	}
	public void setBelongBankSwift(String belongBankSwift) {
		this.belongBankSwift = belongBankSwift;
	}
	public String getInterOrder() {
		return interOrder;
	}
	public void setInterOrder(String interOrder) {
		this.interOrder = interOrder;
	}
	public String getNationOrder() {
		return nationOrder;
	}
	public void setNationOrder(String nationOrder) {
		this.nationOrder = nationOrder;
	}
	public String getStockHolder() {
		return stockHolder;
	}
	public void setStockHolder(String stockHolder) {
		this.stockHolder = stockHolder;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public String getModifyTime() {
		return modifyTime;
	}
	public void setModifyTime(String modifyTime) {
		if(modifyTime.endsWith("+08:00")){
			
			SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss");//注意格式化的表达式
			
				Date d = null;
				try {
					d = format.parse(modifyTime);
				} catch (ParseException e) {
					e.printStackTrace();
				}
				SimpleDateFormat format1 = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
				modifyTime = format1.format(d);
				this.modifyTime = modifyTime;
			}else{
				this.modifyTime = modifyTime;
			}
	}
	
}
